package com.example.growthmuseum.goods;

import android.content.Context;
import android.view.ViewGroup;

import com.example.growthmuseum.data.model.Goods;
import com.jude.easyrecyclerview.adapter.BaseViewHolder;
import com.jude.easyrecyclerview.adapter.RecyclerArrayAdapter;

/**
 * Created by Jacob on 2016/10/29.
 */

public class GoodsAdapter extends RecyclerArrayAdapter<Goods> {

    public GoodsAdapter(Context context) {
        super(context);
    }

    @Override
    public BaseViewHolder OnCreateViewHolder(ViewGroup parent, int viewType) {
        return new GoodsViewHolder(parent);
    }
}
